package com.forbiddendesert.actions;

import com.forbiddendesert.characters.Character;
import com.forbiddendesert.tiles.Tile;

public class RemoveSand extends Action
{
	Character mCharacter;
	Tile mTile;
	
	public RemoveSand(Character character, Tile destination)
	{
		mCharacter = character;
		mTile = destination;
		
		mTitle = "RemoveSand";
	}
	
	@Override
	public int updateAction() 
	{
		mTile.removeSand(mCharacter.getSandShifted());
		return Action.COMPLETE;
	}
}
